package com.bh.fee.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntityNoCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 服务区域其他单价对象 jc_delivery_price
 *
 * @author slx
 * @date 2023-07-07
 */
@TableName("jc_delivery_price")
@ApiModel(value = "服务区域其他单价对象", description = "服务区域其他单价对象")
@EqualsAndHashCode(callSuper = true)
@Data
public class JcDeliveryPrice extends BhtmsBaseEntityNoCode {
    


    /**
     * 单价
     */
    @ApiModelProperty("单价")
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 单价
     */
    @ApiModelProperty("区间")
    @Excel(name = "区间")
    private String zlInterval;

    /**
     * 服务区域
     */
    @ApiModelProperty("服务区域")
    @Excel(name = "服务区域")
    private String jcServerZoneId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("description", getDescription())

                .append("modifyName", getModifyName())
                .append("modifyTime", getModifyTime())
                .append("name", getName())
                .append("status", getStatus())
                .append("price", getPrice())
                .append("zlInterval", getZlInterval())
                .append("jcServerZoneId", getJcServerZoneId())
                .toString();
    }
}
